file(GLOB HEADERS "include/graphene/witness/*.hpp")

add_library( graphene_witness 
             witness.cpp
           )

target_link_libraries( graphene_witness graphene_app graphene_chain )
target_include_directories( graphene_witness
                            PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

if (MSVC)
    set_target_properties( graphene_witness PROPERTIES COMPILE_FLAGS "/bigobj" )
endif(MSVC)

install( TARGETS
   graphene_witness

   RUNTIME DESTINATION bin
   LIBRARY DESTINATION lib
   ARCHIVE DESTINATION lib
)
